﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConnectLib
{
    public class clsTableAccess
    {
        public static string BAIBAO = "BaiBao";
        public static string BAIBAO_BT = "BaiBao_BT";
        public static string BAIBAO_PV = "BaiBao_PV";
    }

    public enum AdvPage
    {
        All = 0,
        Home = 32767
    }

    public enum ArticleState
    {
        Create = 0,
        Created = 1,// Reporter not edit
        EditorEdit = 2,
        EditorEdited = 3,// Editor not edit
        SecretaryEdit = 4,
        SecretaryEdited = 5,// Secretary not edit
        GeneratorEdit = 6,
        GeneratorEdited = 7,
        Publish = 8,
        Locked = 9
    }

    public enum UserState
    {
        UNACTIVE = 0,
        ACTIVE = 1        
    }
    
    public enum Right
    {
        ADM = 0,
        Reporter = 1,
        Editor = 2,
        Secretary = 3,
        Generator = 4
    }
}
